import java.util.TimerTask;

public class TaskMaster extends TimerTask{
	 
    String strObject;

    public TaskMaster(String strObject){

        this.strObject = strObject;

    }

    public void run(){
		//action selon les modes
		if ( Palette.currentlyActivePlayButton == Palette.play_buttonIndex ) {
			//action play
			
		}
		else if ( Palette.currentlyActivePlayButton == Palette.stop_buttonIndex ) {
			//action stop
		}
    }
}